package com.youlv.yl.entity.hotel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import lombok.Data;
/**
 * <p>
 * 商品表 
 * </p>
 *
 * @author fenghe
 * @since 2022-01-19
 */
@Data
@TableName("t_goods")
@ApiModel(value = "Goods对象", description = "商品表 ")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("title")
    private String title;

    /** 金额*/
    @TableField("price")
    private Double price;

    /** 金额*/
    @TableField("currprice")
    private Double currprice;

    /** 库存*/
    @TableField("stock")
    private Integer stock;


}
